//#define findmax(a,b,c) (a>b)?(a>c)?a:c:(b>c)?b:c
#include <stdio.h>
#define MAX(a,b) (a>b)?a:b
#define MAX_OF_THREE(a,b,c) MAX(MAX(a,b),c)

void main(){
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    printf("%d",MAX_OF_THREE(a,b,c));

}